﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007D7 RID: 2007
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueAeonInfoScRsp : IMessage<GetRogueAeonInfoScRsp>, IMessage, IEquatable<GetRogueAeonInfoScRsp>, IDeepCloneable<GetRogueAeonInfoScRsp>, IBufferMessage
	{
		// Token: 0x1700198E RID: 6542
		// (get) Token: 0x06005A1A RID: 23066 RVA: 0x000F26AD File Offset: 0x000F08AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueAeonInfoScRsp> Parser
		{
			get
			{
				return GetRogueAeonInfoScRsp._parser;
			}
		}

		// Token: 0x1700198F RID: 6543
		// (get) Token: 0x06005A1B RID: 23067 RVA: 0x000F26B4 File Offset: 0x000F08B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueAeonInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001990 RID: 6544
		// (get) Token: 0x06005A1C RID: 23068 RVA: 0x000F26C6 File Offset: 0x000F08C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueAeonInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005A1D RID: 23069 RVA: 0x000F26CD File Offset: 0x000F08CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueAeonInfoScRsp()
		{
		}

		// Token: 0x06005A1E RID: 23070 RVA: 0x000F26E0 File Offset: 0x000F08E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueAeonInfoScRsp(GetRogueAeonInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aeonList_ = other.aeonList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005A1F RID: 23071 RVA: 0x000F2716 File Offset: 0x000F0916
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueAeonInfoScRsp Clone()
		{
			return new GetRogueAeonInfoScRsp(this);
		}

		// Token: 0x17001991 RID: 6545
		// (get) Token: 0x06005A20 RID: 23072 RVA: 0x000F271E File Offset: 0x000F091E
		// (set) Token: 0x06005A21 RID: 23073 RVA: 0x000F2726 File Offset: 0x000F0926
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001992 RID: 6546
		// (get) Token: 0x06005A22 RID: 23074 RVA: 0x000F272F File Offset: 0x000F092F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EKLDBJMNOHO> AeonList
		{
			get
			{
				return this.aeonList_;
			}
		}

		// Token: 0x06005A23 RID: 23075 RVA: 0x000F2737 File Offset: 0x000F0937
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueAeonInfoScRsp);
		}

		// Token: 0x06005A24 RID: 23076 RVA: 0x000F2748 File Offset: 0x000F0948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueAeonInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.aeonList_.Equals(other.aeonList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005A25 RID: 23077 RVA: 0x000F2798 File Offset: 0x000F0998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.aeonList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005A26 RID: 23078 RVA: 0x000F27E5 File Offset: 0x000F09E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005A27 RID: 23079 RVA: 0x000F27ED File Offset: 0x000F09ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005A28 RID: 23080 RVA: 0x000F27F8 File Offset: 0x000F09F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aeonList_.WriteTo(ref output, GetRogueAeonInfoScRsp._repeated_aeonList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005A29 RID: 23081 RVA: 0x000F2848 File Offset: 0x000F0A48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.aeonList_.CalculateSize(GetRogueAeonInfoScRsp._repeated_aeonList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005A2A RID: 23082 RVA: 0x000F289C File Offset: 0x000F0A9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueAeonInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.aeonList_.Add(other.aeonList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005A2B RID: 23083 RVA: 0x000F28E9 File Offset: 0x000F0AE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005A2C RID: 23084 RVA: 0x000F28F4 File Offset: 0x000F0AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.aeonList_.AddEntriesFrom(ref input, GetRogueAeonInfoScRsp._repeated_aeonList_codec);
				}
			}
		}

		// Token: 0x04002308 RID: 8968
		private static readonly MessageParser<GetRogueAeonInfoScRsp> _parser = new MessageParser<GetRogueAeonInfoScRsp>(() => new GetRogueAeonInfoScRsp());

		// Token: 0x04002309 RID: 8969
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400230A RID: 8970
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400230B RID: 8971
		private uint retcode_;

		// Token: 0x0400230C RID: 8972
		public const int AeonListFieldNumber = 2;

		// Token: 0x0400230D RID: 8973
		private static readonly FieldCodec<EKLDBJMNOHO> _repeated_aeonList_codec = FieldCodec.ForMessage<EKLDBJMNOHO>(18U, EKLDBJMNOHO.Parser);

		// Token: 0x0400230E RID: 8974
		private readonly RepeatedField<EKLDBJMNOHO> aeonList_ = new RepeatedField<EKLDBJMNOHO>();
	}
}
